package com.dao;

import java.util.List;
import java.util.Map;

import com.entity.KeHu;

public interface KeHuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(KeHu record);

    int insertSelective(KeHu record);

    KeHu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(KeHu record);

    int updateByPrimaryKeyWithBLOBs(KeHu record);

    int updateByPrimaryKey(KeHu record);
    
    
    public KeHu checkUname(Map<String, Object> uname);
//  查询所有信息
  public List<KeHu> getAll(Map<String, Object> map);
//  获取条数
  public int getCount(Map<String, Object> po); 
//  分页
  public List<KeHu> getByPage(Map<String, Object> map);
//  模糊查询并分页
  public List<KeHu> select(Map<String, Object> map);
}